import instance from ".."

export function getNoticeListHttp() {
  return instance({
    url: `/notice`,
    method: "get",
  })
}

export function getNoticeByIdHttp(id) {
  return instance({
    url: `/notice/${id}`,
    method: "get",
  })
}
